CVE-2026-45158
OPNsense: Command Injection via Attacker-Controlled DHCP Config
Description
OPNsense is a FreeBSD based firewall and routing platform. Prior to 26.1.8, unsanitized user input is passed to the DHCP configuration of the configured interface, which is processed by a shell script, allowing remote code execution as root on the underlying operating system. This vulnerability is fixed in 26.1.8.
INFO
Published Date :
May 13, 2026, 10:16 p.m.
Last Modified :
May 15, 2026, 4:19 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | CRITICAL | [email protected] |
Solution
- Update OPNsense to version 26.1.8 or later.
- Apply security patches promptly.
- Validate user input strictly.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-45158.
| URL | Resource |
|---|---|
| https://github.com/opnsense/core/security/advisories/GHSA-5rx3-w735-74wm | Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-45158 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-45158
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-45158 vulnerability anywhere in the article.
-
Daily CyberSecurity
Nginx Releases Critical Update: Six Vulnerabilities Patched in New Stable Version
The web infrastructure world received a major wake-up call today as nginx-1.30.1 was released to address a suite of six security vulnerabilities. These flaws range from high-severity arbitrary code ex ... Read more
-
Daily CyberSecurity
Critical IKEv2 Buffer Overflow and CAS Bypass Hit Palo Alto PAN-OS
Palo Alto Networks has released a series of important security updates addressing multiple vulnerabilities across its PAN-OS software. The most alarming of these is a buffer overflow in IKEv2 processi ... Read more
The following table lists the changes that have been made to the
CVE-2026-45158 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
May. 15, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:opnsense:opnsense:*:*:*:*:*:*:*:* versions up to (excluding) 26.1.8 Added Reference Type GitHub, Inc.: https://github.com/opnsense/core/security/advisories/GHSA-5rx3-w735-74wm Types: Vendor Advisory -
New CVE Received by [email protected]
May. 13, 2026
Action Type Old Value New Value Added Description OPNsense is a FreeBSD based firewall and routing platform. Prior to 26.1.8, unsanitized user input is passed to the DHCP configuration of the configured interface, which is processed by a shell script, allowing remote code execution as root on the underlying operating system. This vulnerability is fixed in 26.1.8. Added CVSS V3.1 AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H Added CWE CWE-88 Added Reference https://github.com/opnsense/core/security/advisories/GHSA-5rx3-w735-74wm